package com.sky.yipinyoufujava.mapper;


import com.sky.yipinyoufujava.pojo.HomeCarousel;
import com.sky.yipinyoufujava.pojo.order.OrderStatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HomeMapper {
    @Select("SELECT * FROM orderStatus")
    List<OrderStatus> getOrderStatus();


    @Select("SELECT * FROM Carousel")
    List<HomeCarousel> getCarousel();

    @Select("SELECT * FROM HomeImage")
    HomeCarousel getPoster();
}
